package com.avetti.commerce.webservices;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.avetti.simplemerce.domainmodel.Catproperties;

/** @author Hibernate CodeGenerator */
public class Categories implements Serializable {

    /** Serial number */
    private static final long serialVersionUID = -303748193673492700L;

    /** identifier field */
    private Long categoryid;

    /** persistent field */
    private int publish_hash=0;

    /** persistent field */
    private String vendorid="";

    /** nullable persistent field */
    private String name;

    /** nullable persistent field */
    private String description;

    /** persistent field */
    private long catalogid=0;

    /** nullable persistent field */
    private short position=1;

    /** nullable persistent field */
    private String image;

    /** nullable persistent field */
    private String thumbimage;

    /** persistent field */
    private short hidesearch=0;

    /** nullable persistent field */
    private Date modifytime;

    /** nullable persistent field */
    private String creatorid;

    /** nullable persistent field */
    private String supplierid="self";

    /** nullable persistent field */
    private String metakeywords;

    /** nullable persistent field */
    private String metadescription;

    /** nullable persistent field */
    private String pagetitle;
    
    private short deadflag=1;
    
   private Date startdate;
    
    private Date enddate;
    
    private String keywords;
    
    private String available = "T";
    
    
    private boolean urllocked;
    
    private String seourl;
    
    /** Category long description */
    private String longdesc;
    
   private List<Catproperties> properties = new ArrayList<Catproperties>();

    /**
     * @return the available
     */
    public String getAvailable() {
        return available;
    }

    /**
     * @param available the available to set
     */
    public void setAvailable(String available) {
        this.available = available;
    }

    /**
     * @return the catalogid
     */
    public long getCatalogid() {
        return catalogid;
    }

    /**
     * @param catalogid the catalogid to set
     */
    public void setCatalogid(long catalogid) {
        this.catalogid = catalogid;
    }

    /**
     * @return the categoryid
     */
    public Long getCategoryid() {
        return categoryid;
    }

    /**
     * @param categoryid the categoryid to set
     */
    public void setCategoryid(Long categoryid) {
        this.categoryid = categoryid;
    }

    /**
     * @return the creatorid
     */
    public String getCreatorid() {
        return creatorid;
    }

    /**
     * @param creatorid the creatorid to set
     */
    public void setCreatorid(String creatorid) {
        this.creatorid = creatorid;
    }

    /**
     * @return the deadflag
     */
    public short getDeadflag() {
        return deadflag;
    }

    /**
     * @param deadflag the deadflag to set
     */
    public void setDeadflag(short deadflag) {
        this.deadflag = deadflag;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the enddate
     */
    public Date getEnddate() {
        return enddate;
    }

    /**
     * @param enddate the enddate to set
     */
    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    /**
     * @return the hidesearch
     */
    public short getHidesearch() {
        return hidesearch;
    }

    /**
     * @param hidesearch the hidesearch to set
     */
    public void setHidesearch(short hidesearch) {
        this.hidesearch = hidesearch;
    }

    /**
     * @return the image
     */
    public String getImage() {
        return image;
    }

    /**
     * @param image the image to set
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * @return the keywords
     */
    public String getKeywords() {
        return keywords;
    }

    /**
     * @param keywords the keywords to set
     */
    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    /**
     * @return the metadescription
     */
    public String getMetadescription() {
        return metadescription;
    }

    /**
     * @param metadescription the metadescription to set
     */
    public void setMetadescription(String metadescription) {
        this.metadescription = metadescription;
    }

    /**
     * @return the metakeywords
     */
    public String getMetakeywords() {
        return metakeywords;
    }

    /**
     * @param metakeywords the metakeywords to set
     */
    public void setMetakeywords(String metakeywords) {
        this.metakeywords = metakeywords;
    }

    /**
     * @return the modifytime
     */
    public Date getModifytime() {
        return modifytime;
    }

    /**
     * @param modifytime the modifytime to set
     */
    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the pagetitle
     */
    public String getPagetitle() {
        return pagetitle;
    }

    /**
     * @param pagetitle the pagetitle to set
     */
    public void setPagetitle(String pagetitle) {
        this.pagetitle = pagetitle;
    }

    /**
     * @return the position
     */
    public short getPosition() {
        return position;
    }

    /**
     * @param position the position to set
     */
    public void setPosition(short position) {
        this.position = position;
    }

    /**
     * @return the properties
     */
    public List<Catproperties> getProperties() {
        return properties;
    }

    /**
     * @param properties the properties to set
     */
    public void setProperties(List<Catproperties> properties) {
        this.properties = properties;
    }

    /**
     * @return the publish_hash
     */
    public int getPublish_hash() {
        return publish_hash;
    }

    /**
     * @param publish_hash the publish_hash to set
     */
    public void setPublish_hash(int publish_hash) {
        this.publish_hash = publish_hash;
    }

    /**
     * @return the seourl
     */
    public String getSeourl() {
        return seourl;
    }

    /**
     * @param seourl the seourl to set
     */
    public void setSeourl(String seourl) {
        this.seourl = seourl;
    }

    /**
     * @return the startdate
     */
    public Date getStartdate() {
        return startdate;
    }

    /**
     * @param startdate the startdate to set
     */
    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    /**
     * @return the supplierid
     */
    public String getSupplierid() {
        return supplierid;
    }

    /**
     * @param supplierid the supplierid to set
     */
    public void setSupplierid(String supplierid) {
        this.supplierid = supplierid;
    }

    /**
     * @return the thumbimage
     */
    public String getThumbimage() {
        return thumbimage;
    }

    /**
     * @param thumbimage the thumbimage to set
     */
    public void setThumbimage(String thumbimage) {
        this.thumbimage = thumbimage;
    }

    /**
     * @return the urllocked
     */
    public boolean isUrllocked() {
        return urllocked;
    }

    /**
     * @param urllocked the urllocked to set
     */
    public void setUrllocked(boolean urllocked) {
        this.urllocked = urllocked;
    }

    /**
     * @return the vendorid
     */
    public String getVendorid() {
        return vendorid;
    }

    /**
     * @param vendorid the vendorid to set
     */
    public void setVendorid(String vendorid) {
        this.vendorid = vendorid;
    }

    /**
     * @return the longdesc
     */
    public String getLongdesc() {
        return longdesc;
    }

    /**
     * @param longdesc the longdesc to set
     */
    public void setLongdesc(String longdesc) {
        this.longdesc = longdesc;
    }
}